public class defaultChessCreater implements BoardMaker {

	@Override
	public Chess[][] makeChess() {
		Chess[][] chess = new Chess[8][8];

		for (int i = 0; i < 2; i++) {
			for (int j = 0; j < 2; j++) {
				chess[7 * j + 0 * ((j * 2 - 1) * -1)][7 * i ] = new Rook(i);
				chess[7 * j + 1 * ((j * 2 - 1) * -1)][7 * i ] = new Knight(i);
				chess[7 * j + 2 * ((j * 2 - 1) * -1)][7 * i ] = new Bishop(i);
			}
			chess[4][7 * i] = new King(i);
			chess[3][7 * i] = new Queen(i);

			for (int j = 0; j < 8; j++) {
				chess[j][7 * i + 1 * ((i * 2 - 1) * -1)] = new Pawn(i);
			}
		}
		return chess;
	}

}
